<?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n";?>
<rss version="2.0">
<channel>
	<title><?php echo $feed_title;?></title>
    <description><?php echo $page_description; ?></description>
    <link><?php echo $feed_url; ?></link>
    <copyright>Copyright <?php echo gmdate("Y", time()); ?></copyright>
    <generator></generator>
    <pubDate>Mon, 23 Apr 2012 06:30:13 GMT</pubDate>
    <lastBuildDate>Mon, 23 Apr 2012 06:30:13 GMT</lastBuildDate>
		<?php if(isset($data)):?>
        <?php foreach($data as $k => $v): ?>
		<item>
			<title><![CDATA[<?php echo $v['area'];?>]]></title>
			<description><![CDATA[<?php echo json_encode($v['result']);?>]]></description>
			<link>http://vnexpress.net/gl/van-hoa/2012/04/anh-thu-khoe-tron-duong-cong-trong-dieu-lambada/</link>
			<pubDate>Mon, 23 Apr 2012 03:54:16 GMT</pubDate>
		</item>
        <?php endforeach; ?>
        <?php endif;?>
</channel>
</rss>
